package cn.cyh.imeans.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 组织结构树形
 */
public class DeptTree implements Serializable {

	private static final long serialVersionUID = 1L;

	private String label;
	private String value;
	private String parent;
	private String dwdm;
	private Long level;
	private List<DeptTree> children;

	public Long getLevel() {
		return level;
	}

	public void setLevel(Long level) {
		this.level = level;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getParent() {
		return parent;
	}

	public void setParent(String parent) {
		this.parent = parent;
	}

	public String getDwdm() {
		return dwdm;
	}

	public void setDwdm(String dwdm) {
		this.dwdm = dwdm;
	}

	public List<DeptTree> getChildren() {
		return children == null ? new ArrayList<>(10) : children;
	}

	public void setChildren(List<DeptTree> children) {
		this.children = children;
	}
}
